package mybatis.dao;

import java.util.List;
import java.util.Map;

import mybatis.entity.Address;
import org.apache.ibatis.annotations.Param;


public interface AddressDao {
	public List<Map<String, String>> getProvince();
	public List<Map<String, String>> getCity(String id);
	public List<Map<String, String>> getArea(@Param("pid") String pid, @Param("id") String id);
	public List<Map<String, String>> getTown(@Param("pid") String pid, @Param("cid") String cid,@Param("id")  String id);
	public void add(Address addr);
	public List<Address> findByUid(int id);
	public Address findByAid(int addrId);

}
